package com.nulldev.util.networking.rudp.impl;

import java.io.Serializable;
import java.util.UUID;

public class ConnectToPeer implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -6223125573521028297L;

	public ConnectToPeer() {
	}

	public ConnectToPeer(UUID connectionID) {
		this.connectionID = connectionID;
	}

	public ConnectToPeer(int externalPort, String externalIp) {
		this.externalPort = externalPort;
		this.externalIp = externalIp;
	}

	// External port to peer
	public int externalPort;

	// External ip to peer
	public String externalIp;

	// UUID that should be connected to
	public UUID connectionID;
}
